﻿/*
 * 
 * 
 * 角色：
 *      1 Driver:IFireable
 *      2 Runner:IRunnable
 *      3 Tank:
 *              3.1 IFireable
 *              3.2 IRunnable
 *      SuperTank + HeavyTank
 */

using System;

namespace 继承与多态_接口interface案例
{
    internal class Program
    {
        static void Main(string[] args)
        {
            SuperTank superTank = new SuperTank();
            HeavyTank heavyTank = new HeavyTank();

            Driver driver = new Driver(superTank);
            Gunner gunner = new Gunner(superTank);

            gunner.Fire();
            gunner.MultiFire();
            driver.Drive();






            Console.Read();
        }
    }
}
